<dt id="leftContentHeaderPanel" class="<%= local_assigns[:active] ? "active" : "" %>">
  <span class="content"><%= t(:default_group, :scope => [:content]) %></span>
</dt>
<dd id="leftContentContentPanel">
  
  <div class="panel" id="panelContent">
    <% klasses = Skyline::Configuration.articles + Skyline::Configuration.content_classes %>
    <% if klasses.any? %>
  		<ul class="selectlist">
  			<% klasses.each do |klass| %>
  			  <%
            if klass.ancestors.include?(Skyline::Article)
              # Guard statement for inaccessible items
              next if(!current_user.allow?(klass, :index))
  			      link = skyline_articles_path(:type => klass)
              active = klass.to_s.underscore == params[:type]
  			    else
  			      link = object_url(klass,:controller => "skyline/content", :action => "list") 
  			      active = (klass == stack.first.class ? "active" : nil)
			      end
  			  %>
  				<li>
  					 <%= link_to klass.model_name.human(:count => 2), link, :class => (active ? "active" : nil) %>
  				</li>
  			<% end %>
  		</ul>    
    <% end %>
  </div>
  
</dd>
